from django.contrib import admin
from .models import *


# Register your models here.

class CrawlerTaskAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'description', 'runtime']
    list_per_page = 10

admin.site.site_header = '自动化管理后台'  # 设置header
admin.site.site_title = '自动化管理后台'   # 设置title
admin.site.index_title = '自动化管理后台'
admin.site.register(CrawlerTask, CrawlerTaskAdmin)

